package com.example.shop.user.vo;

import com.example.shop.goods.dto.GoodsDetailBrowseInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsDetailBrowseInfoView {
    /**
     * 商品详细信息
     */
    private GoodsDetailBrowseInfo detailInfo;
    /**
     * 商品是否被该用户收藏，true代表被收藏
     */
    private boolean collectionState;

    @Override
    public String toString() {
        return "GoodsDetailBrowseInfoView{" +
                "detailInfo=" + detailInfo +
                ", collectionState=" + collectionState +
                '}';
    }
}
